<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>系统员工管理</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp"%>

    <script type="text/javascript" src="/static/js/system/systemEmployee.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="systemEmployee_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="systemEmployee_tb">
    <table>
      <tr>
       <td>
        <shiro:hasPermission name="systemEmployee:changeAdmin">
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-admin',plain:true" data-cmd="admin" id="change_admin">管理员</a>
        </shiro:hasPermission>
        <shiro:hasPermission name="systemEmployee:resetPassword">
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-password',plain:true" data-cmd="reset">重置密码</a>
        </shiro:hasPermission>

        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>

        <shiro:hasPermission name="systemEmployee:exportExcel">
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" data-cmd="export" id >导出</a>
        </shiro:hasPermission>
       </td>
      </tr>
      <tr>
       <td>
        账户名:<input class="easyui-textbox" id="keyword" name="keyword" style="width:150px" prompt="请输入账号名或者职位">
        部门:<input class="easyui-combobox" name="departmentId" id="departmentId"
                  data-options="valueField:'id',textField:'name', panelHeight:'auto',url:'/department/selectAll'" style="width:150px">
        入职时间:<input  id="beginDate" class= "easyui-datebox" prompt="请输入开始时间"/>-<input  id="endDate" class= "easyui-datebox" prompt="请输入结束时间"/>

        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query">查询</a>
       </td>
      </tr>
    </table>
</div>
<!--end左上角工具栏-->
<%--<div id="excel_dialog">
    <form id="excel_form" action="/systemEmployee/importExcel" method="post" enctype="multipart/form-data">
        <table style="margin: 20px" align="center">
            <tr>
                <td style="padding-left: 20px;padding-bottom: 5px">
                    <input id="uploadFile" type="file" name="file" value="上传"/>
                </td>
            </tr>
            <tr>
                <td style="padding-left: 20px;padding-bottom: 5px">
                    <input type="submit" value="提交"/>
                </td>
            </tr>
        </table>
    </form>
</div>--%>
</body>
</html>
